package com.system.healthproject.model.admin.paramsbean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel
public class DrugParams {
    @NotBlank
    @ApiModelProperty(name = "drugName",notes = "药品名称",dataType = "String",required = true)
    private String drugName;
    @NotNull
    @ApiModelProperty(name = "drugtypeId",notes = "药品类型id",dataType = "String",required = true)
    private Integer drugtypeId;

    public DrugParams() {
    }

    public DrugParams(String drugName, Integer drugtypeId) {
        this.drugName = drugName;
        this.drugtypeId = drugtypeId;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public Integer getDrugtypeId() {
        return drugtypeId;
    }

    public void setDrugtypeId(Integer drugtypeId) {
        this.drugtypeId = drugtypeId;
    }
}
